package com.bird.infrastructure.domainconfig.generate

import com.bird.generate.ddd.domain.GenerateHandler
import com.bird.generate.ddd.domain.port.GenerateRepository
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

@Configuration
class GenerateConfig {

    @Bean
    fun generateHandler(generateRepository: GenerateRepository): GenerateHandler {
        return GenerateHandler(generateRepository)
    }

}